package com.grom.dao;

import java.util.List;

import com.grom.po.Department;

public interface DepartmentDao {
	DepartmentDao instance = new DepartmentDaoImpl();

	List<Department> getAllDepartments();

	List<Department> selectByCondition(String sql);

	Department getDepartmentByID(String id);

	void add(Department department);

	void update(Department department);

	void delete(Department department);
}
